package com.citycloud.ccuap.tc.oauth2.repository;

import java.util.List;

import org.springframework.data.mybatis.repository.support.MybatisRepository;
import org.springframework.stereotype.Repository;

import com.citycloud.ccuap.commons.sys.entity.SysUser;

/**
 * 用户数据库操作
 * 
 * @author zhusr
 *
 */
@Repository
public interface SysUserRepository extends MybatisRepository<SysUser, Long> {
	SysUser findByUserNo(String userNo);

	List<SysUser> findByUserNoAndDataStatus(String userNo, Integer dataStatus);

//	@Query
//	int isPlatformManager(@Param(value = "userId") Long userId, @Param(value = "projectId") Long projectId);
//
//	@Query
//    DetailedUserInfo getDetailedUserInfoById(DetailedUserInfo user);
}